//
//  BCProjectDetailDataIntroduction.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/4.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 自定义的风险等级模型
 */
#import "BCProjectIntroductionRiskLevelModel.h"

NS_ASSUME_NONNULL_BEGIN
/**
 "title": "RA级风险",
 "sign": "RA",
 "shot": "RA级",
 "risk": "低风险",
 "sub_title": "未筹集满的上轮退回95%",
 "desc": "48小时收益率1%",
 "color": "#9B9B9B",
 "rank": 1
 */
@interface BCProjectDetailDataIntroductionRiskDefine : NSObject

/**
 *title
 */
@property (nonatomic, copy) NSString *title;

/**
 *sign
 */
@property (nonatomic, copy) NSString *sign;

/**
 *shot
 */
@property (nonatomic, copy) NSString *shot;

/**
 *risk
 */
@property (nonatomic, copy) NSString *risk;

/**
 *sub_title
 */
@property (nonatomic, copy) NSString *sub_title;

/**
 *desc
 */
@property (nonatomic, copy) NSString *desc;

/**
 *color
 */
@property (nonatomic, copy) NSString *color;

/**
 *rank
 */
@property (nonatomic, assign) NSInteger rank;


/**
 将服务器的风险等级模型转换为自定义的
 */
- (BCProjectIntroductionRiskLevelModel *)convertToCustom;

@end

/**
 产品介绍
 */
@interface BCProjectDetailDataIntroduction : NSObject

/**
 *"title": "产品介绍"
 */
@property (nonatomic, copy) NSString *title;

/**
 *"sign": "RA"
 */
@property (nonatomic, copy) NSString *sign;

/**
 *"risk_define_title": "风险等级定义"
 */
@property (nonatomic, copy) NSString *risk_define_title;

/**
 *"docs": "本参与属于低风险产品，收益稳定风险可控。
 */
@property (nonatomic, copy) NSString *docs;

/**
 *BCProjectDetailDataIntroductionRiskDefine
 */
@property (nonatomic, copy) NSArray <BCProjectDetailDataIntroductionRiskDefine *> *risk_define;

@end

NS_ASSUME_NONNULL_END
